import bus from '../utils/event_bus';

window.refreshPage = function refreshPage(action) {
  bus.$emit('refreshPage', action);
};

window.changeFontSize = function changeFontSize(size) {
  bus.$emit('changeFontSize', size);
};

window.doSearchEvent = function doSearchEvent() {
  window.location.href = 'search?opentype=newpage';
};
